{% extends "toast/base.template.html" %}
{% load toast_filters %}


{% block breadcrumbs %}
	<li><a href="/toast/state/">States</a> <span class="divider">/</span></li>
	<li><a href="/toast/state/view/{{ state.id }}">{{ state.long_name|ucwords }}</a> <span class="divider">/</span></li>
	<li class="active">Edit</li>
{% endblock %}


{% block sidecontent %}
	<div class="btn-toolbar">
		<div class="btn-group">
			<a class="btn" href="/toast/state/view/{{ state.id }}">View</a>
			<a class="btn active" href="/toast/state/edit/{{ state.id }}">Edit</a>
			<a class="btn confirm" href="/toast/state/delete/{{ state.id }}" message="Are you sure you want to delete {{ state.long_name|ucwords }}?">Delete</a>
		</div>
	</div>
{% endblock %}

{% block content %}
	<form method="POST" class="form-inline">
	{% csrf_token %}
	
		{{ form.long_name }}
		
		{{ form.short_name }}
		<input class="btn btn-primary" type="submit" name="attendance_edit" value="Save Changes" />

	</form>
{% endblock %}